package com.studentms.service.impl;

import com.studentms.bean.Grade;
import com.studentms.dao.GradeDao;
import com.studentms.dao.impl.GradeDaoImpl;
import com.studentms.service.GradeService;

import java.util.List;

public class GradeServiceImpl implements GradeService {
   //service层主要是调取dao层的
    private GradeDao dao = new GradeDaoImpl();
    @Override
    public List<Grade> getList() {
        return  dao.getList();
    }
}
